MailPoet\Cron\Workers\SendingQueue\Tasks\Newsletter S

Total Complexity 44
Dependencies 27
Dependents 2
Total lines 332
Lines of code 221
Logical lines of code 110
Comment lines 50
Methods 8
Properties 14

Methods 8

Method Rating Maintainability Complexity Lines of code
preProcessNewsletter()
B
37 14 78
getNewsletterFromQueue()
A
52 9 24
calculateCampaignId()
S
54 6 21
__construct()
S
51 5 28
recoverFromInvalidState()
S
60 4 15
prepareNewsletterForSending()
S
49 2 36
markNewsletterAsSent()
S
62 3 12
stopNewsletterPreProcessing()
S
70 1 7